public class CouplingExample {
    public static void main(String[] args) {
        UserDataProvider userDataProvider = new MySQLDBProvider();
        UserManager userManager = new UserManager(userDataProvider);
        System.out.println(userManager.getUserInfo());

        UserDataProvider WSProvider = new WebServiceProvider();
        userManager = new UserManager(WSProvider);
        System.out.println(userManager.getUserInfo());
    }
}
